Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetViewState

You can use the QTVRGetViewState function to get the value of a view state.

OSErr QTVRGetViewState (
                     QTVRInstance qtvr,
                     QTVRViewStateType viewStateType,
                     UInt16 *state);
qtvr
An instance of a QuickTime VR movie.
viewStateType
A view state type. See "View State Types" for a description of the available view state types.
state
On entry, a pointer to a short integer. On exit, that integer is set to the current value of the specified type of view state.
function result
A result code.

DESCRIPTION

The QTVRGetViewState function returns, in the state parameter, the current value of the view state of the object node specified by the qtvr parameter that has the type specified by the viewStateType parameter.

SPECIAL CONSIDERATIONS

QTVRGetViewState is valid only for object nodes.

SEE ALSO

Use QTVRSetViewState (next) to set the value of a view state.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |